# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(Radiobutton)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Radiobutton_SRCS radioPlugin.cpp)
QT4_WRAP_CPP(Radiobutton_SRCS radioPlugin.h)

add_library(Radiobutton SHARED ${Radiobutton_SRCS})
add_dependencies(Radiobutton KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(Radiobutton KontAMabil ${QT_LIBRARIES})

install(TARGETS Radiobutton DESTINATION "${QT_PLUGINS_DIR}/designer" LIBRARY)
install(TARGETS Radiobutton ${INSTALL_DESIGNER_PLUGINS_DEFAULT_ARGS} )

